Upload app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ Original file is located at
|
|
| 7 |
https://colab.research.google.com/drive/1tNZAGbjtsEUqIylR9_nzpBLhj22zIWJy
|
| 8 |
"""
|
| 9 |
|
| 10 |
-
|
| 11 |
|
| 12 |
API_KEY = "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"
|
| 13 |
|
|
@@ -33,9 +33,9 @@ def chat_with_mistral(user_input):
|
|
| 33 |
else:
|
| 34 |
return f"Error: {response.status_code} - {response.text}"
|
| 35 |
|
| 36 |
-
user_input = "what about indian cricket team"
|
| 37 |
-
response = chat_with_mistral(user_input)
|
| 38 |
-
print("Chatbot:", response)
|
| 39 |
|
| 40 |
import gradio as gr
|
| 41 |
|
|
|
|
| 7 |
https://colab.research.google.com/drive/1tNZAGbjtsEUqIylR9_nzpBLhj22zIWJy
|
| 8 |
"""
|
| 9 |
|
| 10 |
+
|
| 11 |
|
| 12 |
API_KEY = "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"
|
| 13 |
|
|
|
|
| 33 |
else:
|
| 34 |
return f"Error: {response.status_code} - {response.text}"
|
| 35 |
|
| 36 |
+
#user_input = "what about indian cricket team"
|
| 37 |
+
#response = chat_with_mistral(user_input)
|
| 38 |
+
#print("Chatbot:", response)
|
| 39 |
|
| 40 |
import gradio as gr
|
| 41 |
|