Spaces:
Paused
Paused
Commit
Β·
ca2212d
1
Parent(s):
649486f
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,10 +11,9 @@ logging.getLogger().addHandler(logging.StreamHandler(stream=sys.stdout))
|
|
| 11 |
|
| 12 |
PromptHelper.compact_text_chunks = compact_text_chunks
|
| 13 |
|
| 14 |
-
with gr.Blocks(
|
| 15 |
with gr.Box():
|
| 16 |
gr.Markdown("<h1 style='font-size: 48px; text-align: center;'>πͺ WizardLM Doc Chat π</h1>")
|
| 17 |
-
gr.Markdown("<h3 style='text-align: center;'>πͺππͺππͺβ‘οΈπͺ</h3>")
|
| 18 |
|
| 19 |
chat_context = gr.State([])
|
| 20 |
new_google_chat_context = gr.State([])
|
|
@@ -94,4 +93,4 @@ with gr.Blocks(css="") as demo:
|
|
| 94 |
|
| 95 |
if __name__ == "__main__":
|
| 96 |
demo.title = "WizardLM Doc Chat"
|
| 97 |
-
demo.
|
|
|
|
| 11 |
|
| 12 |
PromptHelper.compact_text_chunks = compact_text_chunks
|
| 13 |
|
| 14 |
+
with gr.Blocks() as demo:
|
| 15 |
with gr.Box():
|
| 16 |
gr.Markdown("<h1 style='font-size: 48px; text-align: center;'>πͺ WizardLM Doc Chat π</h1>")
|
|
|
|
| 17 |
|
| 18 |
chat_context = gr.State([])
|
| 19 |
new_google_chat_context = gr.State([])
|
|
|
|
| 93 |
|
| 94 |
if __name__ == "__main__":
|
| 95 |
demo.title = "WizardLM Doc Chat"
|
| 96 |
+
demo.launch()
|