Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,10 +2,15 @@ import gradio as gr
|
|
| 2 |
import random
|
| 3 |
import time
|
| 4 |
import os
|
| 5 |
-
from typing import Dict
|
| 6 |
from pathlib import Path
|
| 7 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 8 |
-
import
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
|
| 10 |
# Define model name clearly
|
| 11 |
MODEL_NAME = "unsloth/gemma-3-1b-pt" #HuggingFaceH4/zephyr-7b-alpha"
|
|
|
|
| 2 |
import random
|
| 3 |
import time
|
| 4 |
import os
|
|
|
|
| 5 |
from pathlib import Path
|
| 6 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 7 |
+
import json
|
| 8 |
+
import uuid
|
| 9 |
+
import edge_tts
|
| 10 |
+
import asyncio
|
| 11 |
+
import aiofiles
|
| 12 |
+
import mimetypes
|
| 13 |
+
from typing import List, Dict
|
| 14 |
|
| 15 |
# Define model name clearly
|
| 16 |
MODEL_NAME = "unsloth/gemma-3-1b-pt" #HuggingFaceH4/zephyr-7b-alpha"
|