Update app.py
Browse files
app.py
CHANGED
|
@@ -86,7 +86,16 @@ with gr.Blocks(css=custom_css, title="Affan's GenAI App (Groq)") as demo:
|
|
| 86 |
</div>
|
| 87 |
""")
|
| 88 |
|
| 89 |
-
|
| 90 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
|
| 92 |
demo.launch()
|
|
|
|
| 86 |
</div>
|
| 87 |
""")
|
| 88 |
|
| 89 |
+
with gr.Blocks(title="Affan's GenAI App (Groq)") as demo:
|
| 90 |
+
# Inject CSS manually
|
| 91 |
+
gr.HTML(f"<style>{custom_css}</style>")
|
| 92 |
+
|
| 93 |
+
gr.ChatInterface(
|
| 94 |
+
fn=chat_groq,
|
| 95 |
+
title="Chat"
|
| 96 |
+
)
|
| 97 |
+
|
| 98 |
+
demo.launch()
|
| 99 |
+
|
| 100 |
|
| 101 |
demo.launch()
|