Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
import transformers
|
| 3 |
import torch
|
| 4 |
-
|
| 5 |
|
| 6 |
def fmt_prompt(prompt: str) -> str:
|
| 7 |
return f"""[Instructions]:\n{prompt}\n\n[Response]:"""
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import transformers
|
| 3 |
import torch
|
| 4 |
+
import time
|
| 5 |
|
| 6 |
def fmt_prompt(prompt: str) -> str:
|
| 7 |
return f"""[Instructions]:\n{prompt}\n\n[Response]:"""
|