Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
from huggingface_hub import InferenceClient
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
-
client = InferenceClient("mistralai/Mistral-7B-Instruct-v0.3")
|
| 5 |
-
|
| 6 |
# Function to format the input into a suitable prompt for generating strict and engaging learning content
|
| 7 |
# def format_prompt(topic, description, difficulty):
|
| 8 |
# prompt = (
|
|
|
|
| 1 |
from huggingface_hub import InferenceClient
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
+
# client = InferenceClient("mistralai/Mistral-7B-Instruct-v0.3")
|
| 5 |
+
client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
|
| 6 |
# Function to format the input into a suitable prompt for generating strict and engaging learning content
|
| 7 |
# def format_prompt(topic, description, difficulty):
|
| 8 |
# prompt = (
|