File size: 944 Bytes
293f8ee
e1ac23c
 
 
 
293f8ee
e1ac23c
293f8ee
 
 
 
e1ac23c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
title: RoBacTutor Ask Mode
emoji: 📘
colorFrom: blue
colorTo: yellow
sdk: gradio
sdk_version: 5.0.0
app_file: app.py
pinned: false
---

# RoBacTutor -- ask-mode API

Internal service, called by the main RoBacTutor frontend's **Întreabă**
screen. Not meant to be opened directly by teachers -- they only ever see
the main app's single URL; this Space's URL is a build-time env var the
frontend calls behind the scenes.

**Hardware**: after creating this Space, set its hardware to **ZeroGPU**
in the Space's Settings tab (this isn't something the `app.py` code or this
README can set on its own -- it's a Space-level setting).

**Before pushing**: copy these two folders in next to `app.py` (same names
as their source in the main project repo):

```
artifacts/lora_adapter/   <- backend/artifacts/lora_adapter/
artifacts/rag/            <- backend/artifacts/rag/
```

See `docs/deployment.md` in the main repo for the full walkthrough.