Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
from huggingface_hub import InferenceClient
|
| 3 |
|
| 4 |
-
#
|
| 5 |
-
client = InferenceClient("
|
| 6 |
|
| 7 |
# Prompt maître
|
| 8 |
system_message = """Tu es un formateur de formateurs spécialisé en analyse réflexive des pratiques enseignantes.
|
|
@@ -40,4 +40,3 @@ demo = gr.ChatInterface(respond)
|
|
| 40 |
if __name__ == "__main__":
|
| 41 |
demo.launch(share=True)
|
| 42 |
|
| 43 |
-
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from huggingface_hub import InferenceClient
|
| 3 |
|
| 4 |
+
# Modèle librement accessible sur Spaces
|
| 5 |
+
client = InferenceClient("bigscience/bloom-560m")
|
| 6 |
|
| 7 |
# Prompt maître
|
| 8 |
system_message = """Tu es un formateur de formateurs spécialisé en analyse réflexive des pratiques enseignantes.
|
|
|
|
| 40 |
if __name__ == "__main__":
|
| 41 |
demo.launch(share=True)
|
| 42 |
|
|
|