Spaces:
Runtime error
Runtime error
Update app_dialogue.py
Browse files- app_dialogue.py +2 -0
app_dialogue.py
CHANGED
|
@@ -14,6 +14,8 @@ from gradio_client.client import DEFAULT_TEMP_DIR
|
|
| 14 |
from text_generation import Client
|
| 15 |
from transformers import AutoProcessor
|
| 16 |
|
|
|
|
|
|
|
| 17 |
def timer_decorator(func):
|
| 18 |
def wrapper(*args, **kwargs):
|
| 19 |
start_time = time.time()
|
|
|
|
| 14 |
from text_generation import Client
|
| 15 |
from transformers import AutoProcessor
|
| 16 |
|
| 17 |
+
import time
|
| 18 |
+
|
| 19 |
def timer_decorator(func):
|
| 20 |
def wrapper(*args, **kwargs):
|
| 21 |
start_time = time.time()
|