Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
from huggingface_hub import InferenceClient
|
2 |
import gradio as gr
|
3 |
-
import
|
4 |
|
5 |
client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
|
6 |
|
@@ -35,7 +35,7 @@ def generate(
|
|
35 |
seed=42,
|
36 |
)
|
37 |
|
38 |
-
now =
|
39 |
|
40 |
# Provide multiple system messages as a list
|
41 |
system_messages = [
|
|
|
1 |
from huggingface_hub import InferenceClient
|
2 |
import gradio as gr
|
3 |
+
from time import gmtime, strftime
|
4 |
|
5 |
client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
|
6 |
|
|
|
35 |
seed=42,
|
36 |
)
|
37 |
|
38 |
+
now = strftime("%Y-%m-%d %H:%M:%S", gmtime())
|
39 |
|
40 |
# Provide multiple system messages as a list
|
41 |
system_messages = [
|