Update app.py
Browse files
app.py
CHANGED
@@ -79,5 +79,8 @@ with gr.Blocks(title="LLM with TTS",head=head) as demo:
|
|
79 |
""")
|
80 |
|
81 |
msg.submit(call_generate_text, [msg, chatbot], [msg, chatbot])
|
82 |
-
|
83 |
-
|
|
|
|
|
|
|
|
79 |
""")
|
80 |
|
81 |
msg.submit(call_generate_text, [msg, chatbot], [msg, chatbot])
|
82 |
+
|
83 |
+
from pathlib import Path
|
84 |
+
DATA_PATH = Path("./models")
|
85 |
+
print(DATA_PATH)
|
86 |
+
demo.launch(allowed_paths=[str(DATA_PATH)])
|