Skip to content

Commit

Permalink
fix: fix nest_asyncio issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bcho committed May 28, 2023
1 parent 9a8a0c8 commit 1450f62
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app.py
@@ -1,3 +1,8 @@
# for: https://github.com/streamlit/streamlit/issues/744#issuecomment-686712930
import asyncio
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)

import streamlit as st
import typing as t
from prompt import get_pss_results_from_openai, SpecResult
Expand Down

0 comments on commit 1450f62

Please sign in to comment.